package com.huawei.appmarket.service.externalapi.jumpers;

import android.net.Uri;
import android.text.TextUtils;
import com.huawei.appgallery.assistantdock.base.externalaction.openviewaction.RemoteBuoyAction;
import com.huawei.appgallery.foundation.service.common.protocol.AppDetailActivityProtocol;
import com.huawei.appgallery.foundation.service.common.protocol.AppDetailActivityProtocol.Request;
import o.ceb;
import o.cjm;
import o.cjo;
import o.dyo;
import o.dyr;
import o.dys.a;
import o.dyw;

public class AppLinkActionJumper extends dyw {
    public AppLinkActionJumper(dyr o_dyr, a aVar, Uri uri) {
        super(o_dyr, aVar, uri);
    }

    public void ॱ() {
        String ˏ = ceb.ˏ(this.ˊ, "accessID");
        String ˏ2 = ceb.ˏ(this.ˊ, "appId");
        String ˏ3 = ceb.ˏ(this.ˊ, RemoteBuoyAction.REMOTE_BUOY_URI);
        String ˏ4 = ceb.ˏ(this.ˊ, "initParam");
        cjo appDetailActivityProtocol = new AppDetailActivityProtocol();
        Request request = new Request();
        if (TextUtils.isEmpty(ˏ3) || !ˏ3.contains("orderappdetail")) {
            request.ˋ("app|" + ˏ2);
        } else {
            request.ˋ(ˏ3);
        }
        request.ˎ(true);
        if (!TextUtils.isEmpty(ˏ)) {
            request.ʽ(ˏ);
        }
        if (!TextUtils.isEmpty(ˏ4)) {
            request.ˋॱ(ˏ4);
            dyo.ˏ(ˏ2, ˏ4);
        }
        appDetailActivityProtocol.ˏ(request);
        this.ˏ.ˎ(new cjm("appdetail.activity", appDetailActivityProtocol), 0);
        this.ˏ.finish();
        this.ˎ.dailyReport(ˏ);
    }
}
